scoreboard players remove @s SculkArrowSonicBoomTimer 1
$execute if score @s SculkArrowSonicBoomTimer matches 3 anchored eyes positioned ^ ^ ^ run function dab:system/bow_arrow/sculk_bow/sonic_boom_loop with entity @n[tag=sculk_arrow.sonic_boom.DM,nbt={data:{attacker:$(UUID)}}] data
$execute if score @s SculkArrowSonicBoomTimer matches ..0 run function dab:system/bow_arrow/sculk_bow/sonic_boom_attack with entity @n[tag=sculk_arrow.sonic_boom.DM,nbt={data:{attacker:$(UUID)}}] data